home *** CD-ROM | disk | FTP | other *** search
/ US Department of Defense…ndamentals 1.0 2004 April / US Department of Defense: Firewall & Router Fundamentals 1.0 2004 April.iso / sco / interface / menu.swf / scripts / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2004-04-05  |  1015 bĀ   |  62 lines

  1. function load_resources()
  2. {
  3.    _level10.stop();
  4.    loadMovieNum("interface/resources.swf",14,"GET");
  5. }
  6. function unload_resources()
  7. {
  8.    restart();
  9.    unloadMovieNum(14);
  10. }
  11. function load_objectives()
  12. {
  13.    _level10.stop();
  14.    loadMovieNum("interface/objectives.swf",13,"GET");
  15. }
  16. function unload_objectives()
  17. {
  18.    restart();
  19.    unloadMovieNum(13);
  20. }
  21. function load_coursemap()
  22. {
  23.    getUrl("javascript:open_map();", "");
  24. }
  25. function load_glossary()
  26. {
  27.    _level10.stop();
  28.    if(_level19._currentframe != 30)
  29.    {
  30.       loadMovieNum("interface/glossary.swf",19,"GET");
  31.    }
  32. }
  33. function unload_glossary()
  34. {
  35.    restart();
  36.    unloadMovieNum(19);
  37. }
  38. function exit()
  39. {
  40.    x = 50;
  41.    while(x > 1)
  42.    {
  43.       if(x != 19)
  44.       {
  45.          getURL("","_level" add x);
  46.       }
  47.       x--;
  48.    }
  49. }
  50. function restart()
  51. {
  52.    if(_level10._currentframe == _level10._totalframes)
  53.    {
  54.       _level10.stop();
  55.    }
  56.    else
  57.    {
  58.       _level10.play();
  59.    }
  60. }
  61. _root.external_call = true;
  62.